package com.singfan.manage.vm.partial;

/**
 * Author: hansonghe
 * Date: 2015-10-20 13:10
 * Desc:
 */
public class IncomeItem {
    private String day;
    private int price;
    private int realPrice;
    private int coupon;

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(int realPrice) {
        this.realPrice = realPrice;
    }

    public int getCoupon() {
        return coupon;
    }

    public void setCoupon(int coupon) {
        this.coupon = coupon;
    }

    @Override
    public String toString() {
        return String.format("<tr><td>%1$s</td><td>%2$d</td><td>%3$d</td><td>%4$d</td></tr>", day, price / 100, realPrice / 100, coupon / 100);
    }
}
